package bean.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.validation.constraints.AssertTrue;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

import entity.Product;
import entity.User;
import entity.UserSocialNetwork;

@ManagedBean
@SessionScoped
public class FeedBean implements Serializable {
	private static final long serialVersionUID = 7496776000738522155L;
	
	private List<Product> products;
	private int first;
	private int last;
	
	public FeedBean() {
		this.products = new ArrayList<Product>();
		this.first = 0;
		this.last = 10;
	}

	public List<Product> getProducts() {
		return products;
	}

	public void setProducts(List<Product> products) {
		this.products = products;
	}

	public int getFirst() {
		return first;
	}

	public void setFirst(int first) {
		this.first = first;
	}

	public int getLast() {
		return last;
	}

	public void setLast(int last) {
		this.last = last;
	}

	

}

